/*
* MyWidget.h
*
* Copyright(C) 2009, Лущик Павел aka nanoo
*
* This code is lisenced under the GPL version 2. For details see 
* LISENCE.txt
*/

#include"StorageContaner.h"
#include<QWidget>
#include<QGridLayout>
#include<QSpinBox>
#include<QPushButton>
#include<QLabel>
class MyWidget: public QWidget
{
	Q_OBJECT
	public:
		MyWidget(QWidget *parent=0);
	private:
		QGridLayout *layout,*buttons_layout;
		StorageContaner *Xreg, *Yreg;
		QPushButton *b_plus, *b_minus, *b_flip;
		QPushButton *b_and, *b_or, *b_xor;
		QLabel *hex_table;
	public slots:
		void plus(void);
		void minus(void);
		void l_and(void);
		void l_or(void);
		void l_xor(void);
		void flip(void);
};
